<template>
  <div class="python">
    <Form ref="formInline" :model="formInline" inline label-position="left" :label-width="60">
      <FormItem prop="username" label="用户名:">
        <Input type="text" v-model="formInline.username" placeholder="用户名"></Input>
      </FormItem>
      <FormItem prop="phone" label="手机号:">
        <Input type="text" v-model="formInline.phone" placeholder="手机号"></Input>
      </FormItem>
      <FormItem prop="status" label="类型:" :label-width="50">
        <Select v-model="formInline.status">
          <Option value="1">超级VIP</Option>
          <Option value="2">普通会员</Option>
        </Select>
      </FormItem>
      <FormItem :label-width="0">
        <Button type="primary" @click="searchVip(index)">查询</Button>
      </FormItem>
    </Form>
  </div>
</template>

<script>
    export default {
      name: 'web',
      data() {
        return {
          formInline: {
            username: '',
            phone: '',
            status: '',
            type: ''
          }
        }
      },
      methods: {

      },
      created() {
          this.$bus.$emit('getSubMenu', {openName: 'marks', activeName: 'python'})
      }
    }
</script>

<style scoped lang="scss">
  .python {
    background-color: #ffffff;
  }
</style>
